package com.softline.documentsmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

/**
 * relate_book
 * @author
 */
@ApiModel(value="图书实体类")
@TableName("relate_book")
@Data
public class RelateBook implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value="编号")
    private Long id;

    /**
     * 术语id
     */
    @ApiModelProperty(value="术语id",example = "11")
    private Long dicId;

    /**
     * 语种
     */
    @ApiModelProperty(value="语种",example = "cn")
    private String type;

    /**
     * 图书标题
     */
    @ApiModelProperty(value="图书标题",example = "测试标题")
    private String title;

    /**
     * 图书原文链接
     */
    @ApiModelProperty(value="图书原文链接",example = "测试链接")
    private String url;

    /**
     * 图书封面图片地址
     */
    @ApiModelProperty(value="图书封面图片地址",example = "测试图书封面地址")
    private String coverUrl;

    /**
     * 图书简介内容
     */
    @ApiModelProperty(value="图书简介内容",example = "测试图书简介内容")
    private String content;

    private static final long serialVersionUID = 1L;
}
